package lab02.test02;

/**
 * Created by ASUS on 2017/10/12.
 */
public class circle {
    //属性：半径
    double radius;

    double area(){
        return 3.14*radius*radius;
    }

    double perimeter(){
       return 2*3.14*radius;
    }

}
